package sg.edu.nus.iss.billing.dao.subscription;

import sg.edu.nus.iss.billing.common.exception.BadDaoCallException;
import sg.edu.nus.iss.billing.dummyData.DataGenerator;

public class Main {

	/**
	 * @param args
	 * @throws Exception 
	 * @throws BadDaoCallException 
	 */
	public static void main(String[] args) throws BadDaoCallException, Exception {
		int sampleSize = 20;
		int cnt = 0;
		DataGenerator dataGen = new DataGenerator();
		dataGen.createPlansData();
		while (cnt < sampleSize) {
			try {
				dataGen.createAccount();
			} catch (BadDaoCallException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (Exception e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			cnt++;
		}
	}

}
